package model;

import java.sql.Date;

/**
 * 图书借阅信息
 * @author 梁
 *
 */
public class BorrowImf {
	private int id;//编号
	private String userName;//用户名
	private String  bookName;//图书名
	private Date borrowTime;//借阅时间
	private Date returnTime;//还书时间
	private int renewNum;//续借次数
	private int bookId;//图书编号
	private String status;//借阅状态
	private String passWord;//用户密码
	
	public BorrowImf() {
		super();
		
	}

	public BorrowImf(int id, String userName, String bookName, Date borrowTime, Date returnTime, int renewNum,
			int bookId, String status, String passWord) {
		super();
		this.id = id;
		this.userName = userName;
		this.bookName = bookName;
		this.borrowTime = borrowTime;
		this.returnTime = returnTime;
		this.renewNum = renewNum;
		this.bookId = bookId;
		this.status = status;
		this.passWord = passWord;
	}

	
	
	
	public BorrowImf(String userName, String bookName, Date borrowTime, Date returnTime, int renewNum, int bookId,
			String status, String passWord) {
		super();
		this.userName = userName;
		this.bookName = bookName;
		this.borrowTime = borrowTime;
		this.returnTime = returnTime;
		this.renewNum = renewNum;
		this.bookId = bookId;
		this.status = status;
		this.passWord = passWord;
	}

	
	
	
	public BorrowImf(String userName, String bookName, int bookId, String passWord) {
		super();
		this.userName = userName;
		this.bookName = bookName;
		this.bookId = bookId;
		this.passWord = passWord;
	}

	public BorrowImf(String userName, String passWord) {
		super();
		this.userName = userName;
		this.passWord = passWord;
	}
	public BorrowImf(String userName, String bookName,String status) {
		super();
		this.userName = userName;
		this.bookName = bookName;
		this.status=status;
	}

	

	public BorrowImf(int id, Date returnTime, int renewNum) {
		super();
		this.id = id;
		this.returnTime = returnTime;
		this.renewNum = renewNum;
	}

	public BorrowImf(String userName, String bookName, int bookId) {
		super();
		this.userName = userName;
		this.bookName = bookName;
		this.bookId = bookId;
	}

	public BorrowImf(int id, String userName, String bookName, Date borrowTime, Date returnTime, int renewNum,
			int bookId, String status) {
		super();
		this.id = id;
		this.userName = userName;
		this.bookName = bookName;
		this.borrowTime = borrowTime;
		this.returnTime = returnTime;
		this.renewNum = renewNum;
		this.bookId = bookId;
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public Date getBorrowTime() {
		return borrowTime;
	}

	public void setBorrowTime(Date borrowTime) {
		this.borrowTime = borrowTime;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public int getRenewNum() {
		return renewNum;
	}

	public void setRenewNum(int renewNum) {
		this.renewNum = renewNum;
	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	
	
	
	
}
